﻿using System.ComponentModel.DataAnnotations;

namespace ETask.Api.Dtos
{
    public class BaseDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedAt { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdatedAt { get; set; } 

        public int CreateBy { get; set; }

        public string CreateByName { get; set; }

        public int UpdateBy { get; set; }

        public string UpdateByName { get; set; }
    }
}
